package com.example.mybatis.service;

import com.example.mybatis.mapper.UserinfoMapper;
import com.example.mybatis.model.UserInfo;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2025-05-25
 * Time: 17:38
 */
@Service
public class UserService {

    @Autowired
    private UserinfoMapper userinfoMapper;

    public List<UserInfo> selectAll(){
        return userinfoMapper.selectAll();
    }
}
